package uml.eventsystem;

import uml.eventsystem.events.UMLEventId;


/**
 * Interface for the observer side of the subject/observer pattern.
 * 
 * @author A-Team
 * 
 */
public interface IObserver
{
	/**
	 * Handle an event from an observed object.
	 * 
	 * @param eventId
	 *            - the event that occurred.
	 */
	public void handleNotification (UMLEventId eventId);
	/**
	 * Handle an event from an observered object with an ID of objectID
	 * 
	 * @param eventId
	 * 			- the event that occurred
	 * @param objectID
	 * 			- the object that the event affected
	 */
	public void handleNotification (UMLEventId eventId, int objectID);
	
}
